package com.xbongbong.pro.applist.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.BaseVO;
import com.xbongbong.pro.applist.pojo.AppListPojo;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author youli.chen
 * @version v1.0
 * @date 2019/3/6 21:42
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ListPurchasedVO extends BaseVO {
    private static final long serialVersionUID = -6426778972275883241L;

    /**
     * 产品或者合同对象
     */
    private AppListPojo appDetail;

    /**
     * 数据集合
     */
    private List<AppListPojo> list;

    /**
     * 数据总数
     */
    private Integer totalCount;

    public ListPurchasedVO(List<AppListPojo> list, Integer totalCount) {
        this.list = list;
        this.totalCount = totalCount;
    }

    public ListPurchasedVO() {
        this.list = list;
        this.totalCount = totalCount;
        this.appDetail = appDetail;
    }
}
